extends ImmediateGeometry

func Line(from,to):
	begin(Mesh.PRIMITIVE_LINES)
	add_vertex(from)
	add_vertex(to)
	end()

func Lines(points):
	begin(Mesh.PRIMITIVE_LINE_STRIP)
	for p in points:
		add_vertex(p)
	end()
